import request from "../uniHttp"


// 获得报告
export const getReport = (id) => {
	return request({
		url: '/api/sczx/assess/evaStuReport/detailById',
		data:{
			id
		}
	})
}

// 获得报告
export const getReports = (data) => {
	return request({
		url: '/api/sczx/assess/evaStuReport/page',
		data:data
	})
}

// 根据任务与量表Id查询详情\

export const getDetailReports = ( tabId,taskId) => {
	return request({
		url: '/api/sczx/assess/evaStuReport/detailByTaskId',
		data:{
		tabId,
		taskId
		}
	})
}

// 答题情况
export const getAnswerList = ( tabId,taskId) => {
	return request({
		url: '/api/sczx/assess/evaStuAnswer/myAnswerList',
		data:{
		tabId,
		taskId
		}
	})
}
